Skip to content

Conversation

@maheshbhatiya73
Copy link
Member

Introduced update-domain-port CLI command that allows updating the port number of an existing domain's configuration for Apache, Nginx, or Caddy servers.

Features:

  • Automatically detects server type (Apache/Nginx/Caddy)
  • Backs up the original config before modifying
  • Replaces old port with the new specified port
  • Reloads the appropriate server after change
  • Ensures better automation and devops-friendly control over live domain configurations

Example:
$ stackroost update-domain-port --domain example.com --port 8080

Introduced `update-domain-port` CLI command that allows updating the port number of an existing domain's configuration for Apache, Nginx, or Caddy servers.

Features:
- Automatically detects server type (Apache/Nginx/Caddy)
- Backs up the original config before modifying
- Replaces old port with the new specified port
- Reloads the appropriate server after change
- Ensures better automation and devops-friendly control over live domain configurations

Example:
$ stackroost update-domain-port --domain example.com --port 8080
@maheshbhatiya73 maheshbhatiya73 merged commit 60a07b9 into main Jun 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants